<div class="container">
    <div>
        <div id="main">
            <div class="login-register">
                <div class="row">
                    <div class="span9">
                        <ul class="tabs nav nav-tabs">
                            <li style="width: 33%;" class="active"><a href="#">Изменить пароль</a></li>
                            <li style="width: 33%;" ><a href="#"></a></li>
                            <li style="width: 34%;" ><a href="#"></a></li>
                        </ul>
                        <!-- /.nav -->

                        <div class="tab-content">

                            <div class="tab-pane active" id="register">
                                <?php if (Yii::app()->user->hasFlash('profileMessage')) { ?>
                                    <div class="alert alert-success">
                                        <button type="button" class="close" data-dismiss="alert">×</button>
                                    <?php echo Yii::app()->user->getFlash('profileMessage'); ?>
                                    </div>
                                <?php } ?>

                                <?php
                                $form = $this->beginWidget('CActiveForm', array(
                                    'id' => 'getscores-form',
                                    'enableClientValidation' => true,
                                    'clientOptions' => array(
                                        'validateOnSubmit' => true,
                                    ),
                                    'htmlOptions' => array(
                                        'class' => 'contact-form'
                                    ),
                                        ));
                                ?>


                                <?php if ($model->getErrors()) { ?> 
                                    <div class="alert alert-error">
                                        <button type="button" class="close" data-dismiss="alert">×</button>
                                            <?php echo $form->errorSummary(array($model)); ?>
                                    </div>
                                <?php }; ?>


                                <?php $field = 'password'; ?>
                                <div class="name control-group">
                                    <label class="control-label" for="inputContactName">
                                        <?php echo strip_tags($form->label($model, $field)); ?>
                                        <span class="form-required" title="This field is required.">*</span>
                                    </label>
                                    <div class="controls">
                                        <?php
                                        echo $form->passwordField($model, $field, array(
                                            'placeholder' => 'Новый пароль',
                                        ))
                                        ?>
                                    </div><!-- /.controls -->
                                </div><!-- /.control-group -->

                                <?php $field = 'verifyPassword'; ?>
                                <div class="email control-group">
                                    <label class="control-label" for="inputContactName">
                                        <?php echo strip_tags($form->label($model, $field)); ?>
                                        <span class="form-required" title="This field is required.">*</span>
                                    </label>
                                    <div class="controls">
                                        <?php
                                        echo $form->passwordField($model, $field, array(
                                            'placeholder' => 'Повторите новый пароль',
                                        ));
                                        ?>
                                    </div><!-- /.controls -->
                                </div><!-- /.control-group -->


                                <div class="control-group">
                                    <div class="controls">
                                        <?php echo CHtml::submitButton(UserModule::t('Save'), array('class' => 'btn btn-primary arrow-right')); ?>
                                    </div><!-- /.controls -->
                                </div><!-- /.control-group -->


                                <?php $this->endWidget(); ?>
                            </div>
                            <!-- /.tab-pane -->
                        </div>
                        <!-- /.tab-content -->
                    </div>
                    <!-- /.span4-->

                    <div class="span3"></div>

                </div>
                <!-- /.row -->
            </div><!-- /.login-register -->        </div>
    </div>
</div>